package com.example;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.client.RestTemplate;

/**
 * <p>
 * 启动类
 * </p>
 *
 * @author liye
 */
@SpringBootApplication
@EnableDubbo
public class DubboConsumerApplication {

   /* @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }*/
    public static void main(String[] args) {
        SpringApplication.run(DubboConsumerApplication.class);
    }

}
